﻿<%@page import="java.util.*" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
   	Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<script>
$(function() {
	//--------------------------print label--------------------------//
	housekeepingList="<% out.print(resource.getString("housekeeping.print.housekeepingList"));%>";
	housekeepingOn="<% out.print(resource.getString("housekeeping.print.on"));%>";
	//--------------------------simple label--------------------------//
	simpleLabel_roomType="<% out.print(resource.getString("simpleLabel.roomType"));%>";
	simpleLabel_Date="<% out.print(resource.getString("simpleLabel.Date"));%>";
	simpleLabel_room="<% out.print(resource.getString("simpleLabel.room"));%>";
	simpleLabel_Message="<% out.print(resource.getString("simpleLabel.Message"));%>";
	simpleLabel_Button_Yes="<% out.print(resource.getString("simpleLabel.Button.Yes"));%>";
	simpleLabel_Button_No="<% out.print(resource.getString("simpleLabel.Button.No"));%>";
	simpleLabel_Button_OK="<% out.print(resource.getString("simpleLabel.Button.OK"));%>";
	simpleLabel_Button_Close="<% out.print(resource.getString("simpleLabel.Button.Close"));%>";
	simpleLabel_Description="<% out.print(resource.getString("simpleLabel.description"));%>";
	simpleLabel_Select="<% out.print(resource.getString("simpleLabel.Select"));%>";
	simpleLabel_Night = "<% out.print(resource.getString("simpleLabel.night"));%>";
	simpleLabel_From="<% out.print(resource.getString("simpleLabel.from"));%>";
	simpleLabel_To="<% out.print(resource.getString("simpleLabel.to"));%>";
	simpleLabel_Comments="<% out.print(resource.getString("simpleLabel.Comments"));%>";
	
	housekeeping_table_RoomStatus =	"<% out.print(resource.getString("housekeeping.table.roomstatus"));%>";
	housekeeping_table_reststatus =	"<% out.print(resource.getString("housekeeping.table.reststatus"));%>";
	housekeeping_table_preference  = "<% out.print(resource.getString("housekeeping.table.preference"));%>";
	housekeeping_table_housekeeper  =	"<% out.print(resource.getString("housekeeping.table.housekeeper"));%>";
	
	cleaning_cleanRooms = "<%=resource.getString("rightClickMenu.CleaningMenu.cleanRooms")%>";
	cleaning_dirtyRooms = "<%=resource.getString("rightClickMenu.CleaningMenu.dirty Rooms")%>";
	cleaning_touchUpRooms = "<%=resource.getString("rightClickMenu.CleaningMenu.touchUpRooms")%>";
	cleaning_inspectRooms = "<%=resource.getString("rightClickMenu.CleaningMenu.inspectRooms")%>";
	cleaning_repairRooms = "<%=resource.getString("rightClickMenu.CleaningMenu.repairRooms")%>";
	cleaning_dnrRooms = "<%=resource.getString("rightClickMenu.CleaningMenu.dnrRooms")%>";
	
	todayroomstatus_checkedOut = "<%=resource.getString("housekeeping.todayroomstatus.checkedOut")%>";
	todayroomstatus_todaycheckin = "<%=resource.getString("housekeeping.todayroomstatus.todaycheckin")%>";
	todayroomstatus_todaycheckout = "<%=resource.getString("housekeeping.todayroomstatus.todaycheckout")%>";
	todayroomstatus_stay = "<%=resource.getString("housekeeping.todayroomstatus.stay")%>";
	todayroomstatus_empty = "<%=resource.getString("housekeeping.todayroomstatus.Empty")%>";
	
	Month_Full_Apr = "<%=resource.getString("Month.Full.April") %>";
	Month_Full_Aug = "<%=resource.getString("Month.Full.August") %>";
	Month_Full_Dec = "<%=resource.getString("Month.Full.December") %>";
	Month_Full_Feb = "<%=resource.getString("Month.Full.February") %>";
	Month_Full_Jan = "<%=resource.getString("Month.Full.January") %>";
	Month_Full_Jul = "<%=resource.getString("Month.Full.July") %>";
	Month_Full_Jun = "<%=resource.getString("Month.Full.June") %>";
	Month_Full_Mar = "<%=resource.getString("Month.Full.March") %>";
	Month_Full_May = "<%=resource.getString("Month.Full.May") %>";
	Month_Full_Nov = "<%=resource.getString("Month.Full.November") %>";
	Month_Full_Oct = "<%=resource.getString("Month.Full.October") %>";
	Month_Full_Sep = "<%=resource.getString("Month.Full.September") %>";
	
	Day_Sun = "<%=resource.getString("Calendar.ShortDay.Sun") %>";
	Day_Mon = "<%=resource.getString("Calendar.ShortDay.Mon") %>";
	Day_Tue = "<%=resource.getString("Calendar.ShortDay.Tue") %>";
	Day_Wed = "<%=resource.getString("Calendar.ShortDay.Wed") %>";
	Day_Thu = "<%=resource.getString("Calendar.ShortDay.Thu") %>";
	Day_Fri = "<%=resource.getString("Calendar.ShortDay.Fri") %>";
	Day_Sat = "<%=resource.getString("Calendar.ShortDay.Sat") %>";
	
	Month_Short_Apr = "<%=resource.getString("Month.Short.Apr") %>";
	Month_Short_Aug = "<%=resource.getString("Month.Short.Aug") %>";
	Month_Short_Dec = "<%=resource.getString("Month.Short.Dec") %>";
	Month_Short_Feb = "<%=resource.getString("Month.Short.Feb") %>";
	Month_Short_Jan = "<%=resource.getString("Month.Short.Jan") %>";
	Month_Short_Jul = "<%=resource.getString("Month.Short.Jul") %>";
	Month_Short_Jun = "<%=resource.getString("Month.Short.Jun") %>";
	Month_Short_Mar = "<%=resource.getString("Month.Short.Mar") %>";
	Month_Short_May = "<%=resource.getString("Month.Short.May") %>";
	Month_Short_Nov = "<%=resource.getString("Month.Short.Nov") %>";
	Month_Short_Oct = "<%=resource.getString("Month.Short.Oct") %>";
	Month_Short_Sep = "<%=resource.getString("Month.Short.Sep") %>";
	
	FullMonth = [Month_Full_Jan, Month_Full_Feb, Month_Full_Mar, Month_Full_Apr, Month_Full_May, Month_Full_Jun, Month_Full_Jul,Month_Full_Aug, Month_Full_Sep, Month_Full_Oct, Month_Full_Nov, Month_Full_Dec];
	ShortDay = [Day_Sun,Day_Mon,Day_Tue,Day_Wed,Day_Thu,Day_Fri,Day_Sat];
	ShortMonth = [Month_Short_Jan, Month_Short_Feb, Month_Short_Mar, Month_Short_Apr, Month_Short_May, Month_Short_Jun, Month_Short_Jul, Month_Short_Aug, Month_Short_Sep, Month_Short_Oct, Month_Short_Nov, Month_Short_Dec];
		
	statusResv = "<% out.print(resource.getString("RoomManagementList.CheckOut.table.statusReservedRooms"));%>";
	statusCheckin = "<% out.print(resource.getString("RoomManagementList.CheckOut.table.statusCheckIn"));%>";
	statusCheckinNoFull = "<% out.print(resource.getString("RoomManagementList.CheckOut.table.statusCheckinNoFull"));%>";
	statusCancelCheckin = "<% out.print(resource.getString("RoomManagementList.CheckOut.table.statusCancelCheckin"));%>";
	statusTempResv = "<% out.print(resource.getString("RoomManagementList.CheckOut.table.statusTempRooms"));%>";
	statusCheckOut = "<% out.print(resource.getString("RoomManagementList.CheckOut.table.statusCheckOut"));%>";
	statusCancel = "<% out.print(resource.getString("RoomManagementList.CheckOut.table.statusCancel"));%>";
	statusSomeReservation = "<% out.print(resource.getString("RoomManagementList.CheckOut.table.statusReservationNoFull"));%>";
		
	label_NotAssigned = "<%=resource.getString("housekeeping.table.NotAssigned") %>";
	label_selectEmployee = "<%=resource.getString("housekeeping.selectEmployee") %>";
	
	dd_filter_allroom = "<% out.print(resource.getString("housekeeping.filter.AllRoom"));%>";
	dd_filter_roomstatus = "<%=resource.getString("housekeeping.filter.RoomStatus") %>";
	dd_filter_block = "<%=resource.getString("housekeeping.filter.Block") %>";
	dd_filter_floor = "<%=resource.getString("housekeeping.filter.Floor") %>";
	dd_filter_housekeeping = "<%=resource.getString("housekeeping.filter.housekeeping") %>";
	
	//force logout
	Warning="<%out.print(resource.getString("simpleLabel.warning"));%>";
	ForceLogout="<%out.print(resource.getString("simpleLabel.forcelogout"));%>";
});
</script>